Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 16 - Storage Objects / Storage Objects Reference
Storage Objects Routines / Managing Storage Objects


Q3Storage_GetSize

You can use the Q3Storage_GetSize function to get the size of the data stored in a storage object.

TQ3Status Q3Storage_GetSize (
TQ3StorageObject storage, 
unsigned long *size);
storage
A storage object.
size
On entry, a pointer to a buffer. On exit, the number of bytes of data stored in the specified storage object.
DESCRIPTION
The Q3Storage_GetSize function returns, through the size parameter, the number of bytes of data stored in the storage object specified by the storage parameter. That storage object must already be open when you call Q3Storage_GetSize.

ERRORS
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter
kQ3ErrorStorageNotOpen


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996